load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "writetest_test",
    timeout = "short",
    srcs = [
        "main_test.go",
        "write_test.go",
    ],
    flaky = True,
    shard_count = 50,
    deps = [
        "//br/pkg/lightning/mydump",
        "//config",
        "//executor",
        "//executor/internal",
        "//kv",
        "//meta/autoid",
        "//parser/model",
        "//parser/mysql",
        "//planner/core",
        "//session",
        "//sessionctx",
        "//sessionctx/variable",
        "//sessiontxn",
        "//store/mockstore",
        "//table",
        "//table/tables",
        "//testkit",
        "//types",
        "//util",
        "//util/mock",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_stretchr_testify//require",
        "@com_github_tikv_client_go_v2//tikv",
        "@io_opencensus_go//stats/view",
        "@org_uber_go_goleak//:goleak",
    ],
)
